package Ysfdemo;

public class ysfdemo5 {
    public static void main(String[] args) {
        //（关系表达式）?表达式1:表达式2
        System.out.println(true?"zhen":"jia");
        //判断高富帅进行打印
        boolean gao =true;
        boolean fu = true;
        boolean shuai = true;
        System.out.println("是否是高富帅？"+ ((gao && fu && shuai)?"是":"否"));
    }
}
